package com.java2207.group1.service;

import com.java2207.group1.common.LayuiPageVo;
import com.java2207.group1.pojo.Equipment;
import com.java2207.group1.vo.equipment.BarVo;
import com.java2207.group1.vo.equipment.PieVo;

import java.util.List;
import java.util.Map;

public interface EquipmentService {

    LayuiPageVo<Equipment> equipmentPageData(Map<String, Object> params);

    int addEquipment(Equipment equipment);

    int deleteEquipment(Integer id);

    int updateEquipment(Equipment equipment);

    int batchEquipment(String ids);

    List<BarVo> setBarData();

    List<PieVo> setPieData();
}
